package com.zbkj.crmeb.front.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author stivepeim
 * @title: PriceGroupResponse
 * @projectName crmeb
 * @description: 价格计算集合
 * @date 2020/7/2412:09
 */
@Data
public class PriceGroupResponse {
    private BigDecimal storePostage;

//    @ApiModelProperty(value = "满额包邮")
//    private BigDecimal storeFreePostage;

    @ApiModelProperty(value = "订单会员优惠价")
    private BigDecimal vipPrice;

    private BigDecimal couponPrice;


    private BigDecimal payPostage;
    private BigDecimal deductionPrice;
    private Integer usedIntegral;
    private Integer gainIntegral;
    private Integer enableIntegral;

    @ApiModelProperty(value = "支付总金额")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal totalPrice;

    // todo 价格计算有问题
    @ApiModelProperty(value = "商品售价")
    private BigDecimal packagePrice;

    @ApiModelProperty(value = "商户成本价")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "平台成本价")
    private BigDecimal sourceCostPrice;

    @ApiModelProperty(value = "首段物流")
    private BigDecimal firstPrice;

    @ApiModelProperty(value = "二段物流")
    private BigDecimal secondPrice;

    @ApiModelProperty(value = "税费")
    private BigDecimal taxPrice;

    @ApiModelProperty(value = "税费 + 二段物流费用")
    private BigDecimal taxAndSecondPrice;

    @ApiModelProperty(value = "到货时间")
    private String arrivalTime;

//    @ApiModelProperty(value = "会员商品总价格")
//    private BigDecimal vipTotalPrice;
//
//    @ApiModelProperty(value = "会员商品运税费")
//    private BigDecimal vipPostage;

    @ApiModelProperty(value = "会员折扣")
    private BigDecimal vipDiscountRatio;

    @ApiModelProperty(value = "会员优惠价格")
    private BigDecimal vipReducePrice;

    @ApiModelProperty(value = "收货区域类型：1 大陆地区，2 港澳，3 海外")
    private Integer areaType;

    @ApiModelProperty(value = "批采单id")
    private Integer pickingId;

}
